<me:UIICC_HR x:Class="WPFExcelReport.TLOGIN"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport"  
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="LightBlue"  
                     FontSize="18"
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIICC_HR.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        </me:UIICC_HR.Resources>
    <Grid VerticalAlignment="Center" HorizontalAlignment="Center">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>
        
        <Grid Grid.Row="3" Margin="0,20,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200"></ColumnDefinition>
                <ColumnDefinition Width="200"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Label Grid.Column="0" Content="{Binding Source={Localization:TranslateExtension Word=系统}}" Width="Auto" HorizontalAlignment="Right" VerticalAlignment="Center" />
            <TextBox Grid.Column="1" Name="txtMANDANT" MaxLength="2" Width="40" Margin="20,0,0,0"   HorizontalAlignment="Left" Background="Pink"  TabIndex="1" >00</TextBox>
        </Grid>
        <Grid Grid.Row="4"  Margin="0,20,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200"></ColumnDefinition>
                <ColumnDefinition Width="200"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Label Content="{Binding Source={Localization:TranslateExtension Word=语言}}" Width="Auto" Margin="0,0,0,0" HorizontalAlignment="Right"  VerticalAlignment="Center" />
            <TextBox Grid.Column="1" IsReadOnly="True" Name="txtSPRACHKZ" Width="40" Margin="20,0,0,0" Text="" MaxLength="1" HorizontalAlignment="Left" Background="Pink" FontSize="18" TabIndex="2" />

        </Grid>
        <Grid Grid.Row="5"  Margin="0,20,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200"></ColumnDefinition>
                <ColumnDefinition Width="200"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Label Content="{Binding Source={Localization:TranslateExtension Word=用户名}}" Width="Auto" Margin="10,0,0,0" HorizontalAlignment="Right"  VerticalAlignment="Center" />
            <ex:TXT72 Grid.Column="1" Name="txtUserID" Width="180" Margin="20,0,0,0" Text="" 
                     IsAutoClear="True"
                     HorizontalAlignment="Left" Background="Yellow" FontSize="18" MaxLength="8" AcceptsTab="False" CharacterCasing="Upper" KeyboardNavigation.TabIndex="0" TabIndex="3" />

        </Grid>
        <Grid Grid.Row="6"  Margin="0,20,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200"></ColumnDefinition>
                <ColumnDefinition Width="200"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Label Content="{Binding Source={Localization:TranslateExtension Word=密码}}" Width="Auto" Margin="10,0,0,0" HorizontalAlignment="Right"  VerticalAlignment="Center" />
            <PasswordBox Grid.Column="1" Name="txtPassword" Width="180" Margin="20,0,0,0" 
                         KeyUp="txtPassword_KeyUp"
                         HorizontalAlignment="Left" Background="Yellow"  KeyboardNavigation.TabIndex="1" TabIndex="4" />

        </Grid>
        <Grid Grid.Row="7"  Margin="0,20,0,0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Label Grid.Column="0" Content="{Binding Source={Localization:TranslateExtension Word=登录}}" Width="Auto" Margin="0,0,0,0" HorizontalAlignment="Right"  VerticalAlignment="Center" />
            <Button Grid.Column="1" Margin="10,0,0,0" Name="btnLogIn" Width="40"  Height="40"
                    HorizontalAlignment="Left"
                    Click="btnLogIn_Click" KeyboardNavigation.TabIndex="2" IsDefault="True" TabIndex="5">
                <Button.Background>
                    <ImageBrush ImageSource="/ImagePackage;component/Images/User.png" />
                </Button.Background>
            </Button>
         </Grid>
        <Grid Grid.Row="8"  Margin="0,20,0,0">
            <Image />
        </Grid>
        <Grid Grid.Row="9"  Visibility="Collapsed">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200"></ColumnDefinition>
                <ColumnDefinition Width="200"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <TextBlock Grid.Column="1" Name="Administration"></TextBlock>
            <CheckBox FontSize="14" Content="{Binding Source={Localization:TranslateExtension Word=属于评审组}}" Name="IsBelongs2V9"
                             ></CheckBox>
            <TextBlock FontSize="14" MinWidth="200" Width="Auto" Name="MemberV9" Background="#FF00AF00"
                               Visibility="Collapsed"></TextBlock>
            <TextBlock Name="txtLogIn" Width="Auto" Margin="10,0,0,0" HorizontalAlignment="Left" Background="White" FontSize="14" KeyboardNavigation.TabIndex="1" />
        </Grid>
    </Grid> 
</me:UIICC_HR>
